package MyUtil;

import javax.swing.*;
import java.awt.*;

public class ICONUtil {
    private ICONUtil() {
    }

    public static ImageIcon getImageIcon(String path) {
        ImageIcon icon = new ImageIcon(ICONUtil.class.getResource(path));
        return icon;
    }
}